﻿// 1.1.3.01. Write an expression that checks if given integer is odd or even.

using System;

class EvenOrOddNumber
{
    static void Main()
    {
        Console.Write("Please enter a number: ");
        int inputNumber = int.Parse(Console.ReadLine());
        Console.WriteLine(inputNumber % 2 == 0 ? "You have entered an even number." : "You have entered an odd number.");
        
        // if (inputNumber % 2 == 0)
        // {
        //     Console.WriteLine("You have entered an even number.");
        // }
        // else
        // {
        //     Console.WriteLine("You have entered an odd number.");
        // }
    }
}
